type Foo = {foo: string} & {bar: number;};